package org.fast.develop.logicflow.ws.manager;

import org.fast.develop.logicflow.runtime.ws.LogicFlowEventPublisher;

public class WsSessionManager{

    private WsSessionStore wsSessionStore;
    private WebSocketLauncher webSocketLauncher;

    public WsSessionManager() {
        this.wsSessionStore = new WsSessionStore();
        this.webSocketLauncher = new WebSocketLauncher(wsSessionStore);
        new LogicFlowEventPublisher(this.webSocketLauncher);
    }

    public WsSessionStore getWsSessionStore() {
        return wsSessionStore;
    }

    public WebSocketLauncher getWebSockeLauncher() {
        return webSocketLauncher;
    }
}
